<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>假期请假情况</title>
</head>
<body>

<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h5>假期及加班明细</h5>
        </div>
        <div class="modal-body">
            <table class="table table-striped table-bordered
                table-hover table-condensed table-responsive">
                <tr>
                    <td class="danger text-center">姓名</td>
                    <td class="info text-center">年份</td>
                    <td class="info text-center">休假类型</td>
                    <td class="warning text-center">休假天数</td>
                    <td class="success text-center">休假事由</td>
                    <td class="success text-center">休假开始日期</td>
                </tr>
                <tr th:each="vs:${vacationUsedRecordList}">
                    <td class="text-center" th:text="${vs.uId}">tom</td>
                    <td class="text-center" th:text="${vs.pYear}">20</td>
                    <td class="text-center" th:text="${vs.vacationType}==1?'调休':'年假'">18</td>
                    <td class="text-center" th:text="${vs.vacationDays}">6</td>
                    <td class="text-center" th:text="${vs.note}">3</td>
                    <td class="text-center" th:text="${#dates.format(vs.beginDate,'YYYY-MM-DD')}">1</td>
                </tr>
            </table>
        </div>
        <div class="modal-footer">
            <button class="btn btn-danger" type="button" data-dismiss="modal">关闭</button>
        </div>
    </div>
</div>
</body>
</html>